﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>求租管理</title>
<link href="/Css/Admin/v1.css" rel="stylesheet" type="text/css" />
<link href="/Css/Admin/housepub.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/lib/prototype.js"></script>
<script type="text/javascript" src="/js/admin/v1.2.js"></script>
<script src="http://ditu.google.cn/maps?file=api&amp;v=2&amp;key={config:adminMapkey}&amp;hl=zh-CN" type="text/javascript"> </script><script type="text/javascript">
      var isLoadedMap = 1;
      function initMap(id,latlng) {
      var point=null;
      if(latlng.length!=0){
      point = new GLatLng(latlng.split(',')[0],latlng.split(',')[1]);
      }
      if (GBrowserIsCompatible()) {
      isLoadedMap = 0;
      var map = new GMap2(document.getElementById(id));
      var center = new GLatLng(24.891,118.599);
      
      if(point==null)point=center;
      map.setCenter(point, 12);
      var marker = new GMarker(point, {draggable: true});
      
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      
      GEvent.addListener(marker, "dragstart", function() {
      map.closeInfoWindow();
      });
      
      GEvent.addListener(marker, "dragend", function() {
      var latlng = marker.getLatLng();
      $('rentin_Latlng').value = latlng.lat()+','+latlng.lng();	   
      marker.openInfoWindowHtml("楼盘所在位置");
      });
      
      map.addOverlay(marker);
      
      }
      }
		function openMap(id,titie,latlng){
		  Element.show(id);
		  initMap(id,latlng);
		  var _w=_window.Open("[id]"+id,titie,"width=602,height=402,ismodal=1");
		}
</script>
</head>
<body>
<ul id="tabs">
  <li class="current" id="mainTab" onclick="TM.switchTab('tabs',this.innerHTML);">求租房源</li>
  <li id="Last">
    <div style="float:right;" >
       <input name="reloadTab" type="button" accesskey="r" class="btnA_1"  onclick="TM.reload();" value="刷新(R)" id="reloadTab"  />
	<input name="closeTab" type="button" accesskey="C" class="btnA_1"  onclick="TM.closeTab();" value="关闭(C)" id="closeTab"  />
    </div>
  </li>
</ul>

<div id="divContent" class="contents">
  <city:list>求租房源</city:list>
</div>

<div id="divChildContent" align="center" style="display:none" rel="content">
  &nbsp;
</div>

<script language="JavaScript" type="text/javascript">
	TM.tUpdate(-1,0,'divContent','求租房源',1,null);
</script>
</body>
</html>
